$OpenBSD: patch-configure_ac,v 1.2 2015/01/12 00:13:53 jca Exp $
--- configure.ac.orig	Sat Jan  3 17:50:28 2015
+++ configure.ac	Wed Jan  7 18:25:30 2015
@@ -77,7 +77,7 @@ AC_SUBST(DEFAULT_INCLUDES)
 AC_ARG_WITH([irssi-module-dir],
 	AS_HELP_STRING([--with-irssi-module-dir=DIR], [Irssi module directory]),
 	[IRSSI_MODULE_DIR="$withval"],
-	[IRSSI_MODULE_DIR="/usr/lib/irssi/modules"])
+	[IRSSI_MODULE_DIR="$prefix/lib/irssi/modules"])
 
 AC_SUBST(IRSSI_MODULE_DIR)
 
